feat: enable kprobes/ftrace on hi3516ev300, auto-mount debugfs#1982
Merged
feat: enable kprobes/ftrace on hi3516ev300, auto-mount debugfs#1982
Conversation
ae1db6e to
355d1dc
Compare
Enable CONFIG_KPROBES, CONFIG_FTRACE, CONFIG_DEBUG_FS, and CONFIG_KALLSYMS_ALL in hi3516ev300 kernel config. Add conditional S29debugfs init script to mount debugfs at boot. Trim unused ramdisk decompressors and debug options to fit 2048KB kernel limit. Kernel size: 2047KB / 2048KB. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
355d1dc to
8b20df3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CONFIG_KPROBES,CONFIG_FTRACE,CONFIG_DEBUG_FS,CONFIG_KALLSYMS_ALLin hi3516ev300 kernel configS29debugfsinit script to mount debugfs at boot (no-op on boards without debugfs support)Kernel size: 2047KB / 2048KB
Test results (hi3516ev300_lite, 2026-04-06)
/sys/kernel/debug/kprobes/enabled=1/sys/kernel/debug/tracing//proc/kallsymsshows all 64814 symbolsdo_sys_open, trace events captured/dev/syscreated, majestic SDK starts successfully🤖 Generated with Claude Code